<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" session="false" %>
<%@ include file="/WEB-INF/jspf/import.jspf" %>
<!doctype HTML>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
        <title> 车友会排行榜 </title>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="author" content="xieyongshuang_gz zhongqingbiao_gz"/>
        <link rel="stylesheet" type="text/css" href="http://js.3conline.com/wap/pcauto/2014/touch/club/club.css">
    </head>

    <body class="g-doc">
        <!--栏目计数器/文章计数器-->
         <jsp:include page="/template/wap/common/counter.jspf">
            <jsp:param name="channel" value="7838" />
        </jsp:include>
         <%@include file="../../common/intf6007.html" %>
        <!-- 公共头部 -->
        <div class="g-hd">
            <a href="http://m.pcauto.com.cn" class="header-home" title="太平洋汽车网"></a>
            <div class="header-title">
                <span class="header-title-nav">
                    <a href="${WAPROOT}/">车友会</a> 
                    &gt; 排行榜
                </span>
            </div>
        </div>
        <c:if test="${not empty club and club.levelId > 0 and club.rank > 0}">
            <!-- 已加入车友会 -->
            <div class="g-toc">
                <a href="${WAPROOT}/top/" class="<c:if test="${type eq 1}">cur</c:if>">
                    <p class="num <c:if test="${club.rank < club.dayRank}">up</c:if><c:if test="${club.rank > club.dayRank}">down</c:if>"><span>${club.rank}</span></p>
                        <p class="txt">全国排名</p>
                    </a>
                <c:if test="${club.brandRank>0}">
                    <a href="${WAPROOT}/top/brand/" class="<c:if test="${type eq 2}">cur</c:if>">
                        <p class="num <c:if test="${club.brandRank < club.dayBrandRank}">up</c:if><c:if test="${club.brandRank>club.dayBrandRank}">down</c:if>"><span>${club.brandRank}</span></p>
                        <p class="txt">${club.brandName}排名</p>
                    </a>
                </c:if>
                <c:if test="${club.provinceRank>0}">
                    <a href="${WAPROOT}/top/area/" class="<c:if test="${type eq 3}">cur</c:if>">
                        <p class="num <c:if test="${club.provinceRank < club.dayProvinceRank}">up</c:if><c:if test="${club.provinceRank>club.dayProvinceRank}">down</c:if>"><span>${club.provinceRank}</span></p>
                        <p class="txt">${fn:replace(club.provinceName,'省','')}排名</p>
                    </a>
                </c:if>
            </div> 
        </c:if>
        <c:if test="${empty club or club.levelId eq 0 or club.rank eq 0}">
            <div class="g-toc2">
                <p>全国排名</p>
                <c:if test="${empty club}"><span>（加入车友会，排行榜将更丰富）</span></c:if>       
                <c:if test="${not empty club and club.levelId eq 0}"><span>您的车友会暂无排名</span></c:if>           
            </div>
        </c:if>
        <c:if test="${not empty club and club.levelId > 0}">
            <c:if test="${type eq 1 and club.rank>0 and rankVal > 0}">
                <div class="m-tips">您所在的车友会全国排名比昨天${rankDesc}了<em>${rankVal}</em>名</div>
            </c:if>
            <c:if test="${type eq 2 and club.brandRank>0 and rankVal > 0}">
                <div class="m-tips">您所在的车友会${club.brandName}排名比昨天${rankDesc}了<em>${rankVal}</em>名</div>
            </c:if>
            <c:if test="${type eq 3 and club.provinceRank>0 and rankVal > 0}">
                <div class="m-tips">您所在的车友会${club.provinceName}排名比昨天${rankDesc}了<em>${rankVal}</em>名</div>
            </c:if>
        </c:if>
        <div class="m-cylist">
            <c:forEach items="${list}" var="c" varStatus="i">
                <c:if test="${type eq 1 and club.rank>=24 and i.index+1==21}">
                    <div class="ell"><i></i><i></i><i></i><i></i></div>
                </c:if>
                <c:if test="${type eq 2 and club.brandRank>=24 and i.index+1==21}">
                    <div class="ell"><i></i><i></i><i></i><i></i></div>
                </c:if>
                <c:if test="${type eq 3 and club.provinceRank>=24 and i.index+1==21}">
                    <div class="ell"><i></i><i></i><i></i><i></i></div>
                </c:if>
                <a class="m-cylist-item" href="${WAPROOT}/${c.clubUrl}/">
                    <div class="m-cylist-pictext">
                        <img src="${c.logo}"/>
                        <div class="m-cylist-text">
                            <p>${fn:escapeXml(c.name)}</p>
                            <i class="star"><em style="width:${c.levelId*20}%"></em></i>
                            <span><i>会员：${c.memberNum}人</i> <i>油值：${c.totalPetrol}L</i></span>
                            <span><i>地区：<c:if test="${empty c.provinceName and empty c.cityName}">--</c:if>${(fn:contains(c.provinceName,"北京") || fn:contains(c.provinceName,"上海") || fn:contains(c.provinceName,"天津") || fn:contains(c.provinceName,"重庆"))?c.provinceName:(empty c.cityName)?c.provinceName:c.cityName}</i> <i>车系：${empty c.seriesName?(empty c.brandName? "--":c.brandName):c.seriesName}</i></span>
                        </div>
                    </div>
                    <c:if test="${not empty club and club.clubId eq c.clubId}">
                        <div class="seq cur"><em>我的车友会</em></div>
                    </c:if>
                    <c:if test="${empty club or club.clubId != c.clubId}">
                        <c:if test="${type eq 1}">
                            <div class="seq <c:if test="${c.rank==1}">fir</c:if><c:if test="${c.rank==2}">sec</c:if><c:if test="${c.rank==3}">trd</c:if>"><em>${c.rank}</em></div>
                        </c:if>
                        <c:if test="${type eq 2}">
                            <div class="seq <c:if test="${c.brandRank==1}">fir</c:if><c:if test="${c.brandRank==2}">sec</c:if><c:if test="${c.brandRank==3}">trd</c:if>"><em>${c.brandRank}</em></div>
                        </c:if>
                        <c:if test="${type eq 3}">
                            <div class="seq <c:if test="${c.provinceRank==1}">fir</c:if><c:if test="${c.provinceRank==2}">sec</c:if><c:if test="${c.provinceRank==3}">trd</c:if>"><em>${c.provinceRank}</em></div>
                        </c:if>
                    </c:if>
                </a>
            </c:forEach>
        </div>
        <div id="Jfoot" class="g-footer">
            <!-- 公共底部 -->
              <%@include file="../../common/intf5987.html" %>
        </div>
    </body>
</html>